package ltd.rycloud.tms.service;

import ltd.rycloud.tms.dao.BusinesstripDao;
import ltd.rycloud.tms.entity.Businesstrip;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BusinesstripService {
	@Autowired
    BusinesstripDao busDao;
	//添加
    public Businesstrip save(Businesstrip businesstrip) {
        return busDao.save(businesstrip);
    }
	//修改
	//删除
	//查看
    public List<Businesstrip> findAll(){
        return busDao.findAll();
    }
	//根据id
	//根据type
	
}
